home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 14 / 87tc810.zip / TC810.DOC < prev   
Text File  |  1987-03-02  |  49KB  |  882 lines

  1.  
  2.                               TurboCALC(tm) v8.10
  3.  
  4.                  Copyright (c) 1985, 1986: by P & M Software Co.
  5.                  TurboCALC is the trademark of P & M Software Co.
  6.  
  7.        TurboCALC is "User Supported" software.  If you like the program,
  8.        use it, and want to see it supported and improved in the future, a
  9.        contribution of $40 would be appreciated.  Please copy and share
  10.        this program with your friends, even if you are unable to make a
  11.        contribution.
  12.  
  13.  
  14.                               Send Contributions to:
  15.  
  16.                               P & M Software Co.
  17.                               9350 Country Creek #30
  18.                               Houston, Tx 77036
  19.  
  20.  
  21.        For further information concerning the TC registration plan, please
  22.        refer the the file, REGISTER.DOC, which comes with this package.
  23.  
  24.        TurboCALC is intended to be powerful, yet easy to use.  It
  25.        supports a spreadsheets ranging in size from, 8192 rows by 2 columns,
  26.        to 90 rows by 256 columns.  And supports many math, statistical and
  27.        financial functions.  Hopefully the user can begin using the program
  28.        without reading a lot of documentation, but some information is
  29.        necessary before one can begin.  The program requires a minimum of 256k
  30.        and can use as much as 640k.
  31.  
  32.        For the advanced spreadsheet user, TurboCALC supports up to 500
  33.        range names and virtually unlimited macro capability.
  34.  
  35.        Version 6.00 and later of TurboCALC includes a text editor with
  36.        the program.  You begin by executing the .COM file, then after the
  37.        copyright notice, there will appear a menu from which you can select
  38.        either 1. the calc program, 2. the edit program, or 3. exit to DOS.
  39.        The calc and edit programs are stored as .CHN, .000, and .001 files.
  40.        They must be present for the system to operate.
  41.  
  42.        INSTALLATION
  43.        ────────────
  44.        TurboCALC is overlayed, the .000 and .001 files that came with the
  45.        program are the overlay files.  They must be present in the default
  46.        directory when the program is started, and they may not be removed
  47.        from the system during execution of the program.  You may change
  48.        directories after starting TurboCALC, because TurboCALC will
  49.        automatically find its way back to the original directory for the
  50.        overlays.  This is true for the the config file, .CNF, also.  The
  51.        config file holds the information about your printer & screen setup.
  52.        Also, the .000, .001 and .CHN files must be stored in the same
  53.        directory.
  54.  
  55.        As an alternative to having to all the files in the default directory
  56.        when the program starts, one can place the following code into the
  57.        AUTOEXEC.BAT file and then start TurboCALC from any location:
  58.  
  59.                               PATH=c:\tc
  60.                               set TCPATH=c:\tc
  61.  
  62.        This assumes that drive C is the drive where TurboCALC is stored and
  63.        TC is the directory.  The proper drive and directory should be sub-
  64.        stituted, as appropriate.
  65.  
  66.        DESCRIPTION
  67.        ───────────
  68.        First, let us examine the layout of the worksheet.  On screen,
  69.        there will be displayed 7 columns by 21 rows.  The user may scroll
  70.        both vertically and horizontally.  The vertical scroll is
  71.        accomplished by depressing the PgUp or PgDn keys.  This will
  72.        scroll 20 rows up or down, a single line scroll is achieved by
  73.        moving the cursor off the top or bottom of the screen, with the up
  74.        or down arrow keys.  The horizontal scroll is achieved by depressing
  75.        the Ctrl key and the left or right arrow keys simultaneously.  The
  76.        "scroll lock" may be activated by pressing the "Scroll Lock" key, an
  77.        indicator will show this at the bottom of the screen.  When the
  78.        "scroll lock" is NOT active, the user may scroll right or left by
  79.        moving the cursor off the right or left of the screen.  When
  80.        "scroll lock" is active, the cursor will wrap-around when moved
  81.        off the sides of the screen.
  82.  
  83.        On the top and bottom lines of the screen there appears some status
  84.        information: the current cell, the amount of memory available, the
  85.        auto-calc indicator, the current marked range, the current drive
  86.        and directory, the CAPS, NUM and SCRL lock indicators.  On the second
  87.        line of the screen will appear messages and the numeric or formula
  88.        content of the current cell.
  89.  
  90.        In general, the user may move the cursor to whatever cell he
  91.        desires, and enter the text, number or formula that needs to be in
  92.        that location.  If entering text, it can overwrite cells to the
  93.        right, but may not be longer than 80 characters.
  94.  
  95.        When you begin to enter something into a cell, the first keystroke
  96.        is VERY important.  It will determine the type of item stored in
  97.        the cell: a formulas begins with the '(' character,  a number with 0
  98.        thru 9, '+', '-' or '.', and text with any other character.  If you
  99.        desire to enter a text string that begins with a number, 0 thru 9,
  100.        you must prefix it with a single quote character, thusly: '109.
  101.        The quote will show on the screen, but not in the printed report.
  102.        When making the first keystroke of a cell, some keys have different
  103.        meanings, than on succeeding keystrokes.  For example, the left and
  104.        right arrow keys will move the cursor around the worksheet, but during
  105.        the entry of data into a cell, these keys will act to move the cursor
  106.        within the cell, to edit the data.  Other keys that behave
  107.        differently, are the Home, End and "/" keys.  The Home and End keys
  108.        move the cursor to the beginning or the end of the worksheet, but
  109.        during the entry of data, they move to the beginning or end of the
  110.        current cell.  Also during data entry, the Esc key will act to
  111.        finish the entry and move to the cell below, so that a column of
  112.        numbers may be entered with the Num Lock turned on.
  113.  
  114.        If you depress the "/" key, at the start of a cell, a list of
  115.        commands will appear, any of the displayed commands may be
  116.        executed by pressing the indicated letter.  For experienced users,
  117.        the commands may be entered directly, without using the "/" key,
  118.        by pressing the Alt key and the command letter together.
  119.  
  120.        Following are two lists.  The first is a list the the cursor
  121.        control and editing keys.  The second is a list of the command
  122.        letters.
  123.  
  124.  
  125.                               Action                  Action
  126.        Key Name          During Data Entry           Otherwise
  127.        ────────────────╥──────────────────────╥─────────────────────
  128.        /               ║ Put a "/" in literal ║ Display the menu of
  129.                        ║ data in cell.        ║ commands.
  130.        ────────────────╫──────────────────────╫─────────────────────
  131.        \               ║ Put a "\" in literal ║ Display the macro keys
  132.                        ║ date in cell.        ║ for entry or change.
  133.        ────────────────╫──────────────────────╫─────────────────────
  134.        F1              ║ Produces the help    ║ Produces the help
  135.                        ║ screens.             ║ screens.
  136.        ────────────────╫──────────────────────╫─────────────────────
  137.        F2              ║ No action.           ║ Enter edit mode on
  138.                        ║                      ║ current cell.
  139.        ────────────────╫──────────────────────╫─────────────────────
  140.        F3              ║ Switch to the text   ║ Switch to the text
  141.                        ║ edit module.         ║ edit module.
  142.        ────────────────╫──────────────────────╫─────────────────────
  143.        F4              ║ Enter/edit/list the  ║ Enter/edit/list the
  144.                        ║ range names.         ║ range names.
  145.        ────────────────╫──────────────────────╫─────────────────────
  146.        F5              ║ Repeat the previous  ║ Repeat the previous
  147.                        ║ locate command, see  ║ locate command, see
  148.                        ║ the Alt-J command.   ║ the Alt-J command.
  149.        ────────────────╫──────────────────────╫─────────────────────
  150.        Up Arrow        ║ Finish entry and     ║ Move to cell above.
  151.                        ║ move to cell above.  ║
  152.        ────────────────╫──────────────────────╫─────────────────────
  153.        Down Arrow      ║ Finish entry and     ║ Move to cell below.
  154.                        ║ move to cell below.  ║
  155.        ────────────────╫──────────────────────╫─────────────────────
  156.        Left Arrow      ║ Move 1 character to  ║ Move to cell on the
  157.                        ║ the left.            ║ left
  158.        ────────────────╫──────────────────────╫─────────────────────
  159.        Right Arrow     ║ Move 1 character to  ║ Move to cell on the
  160.                        ║ the right.           ║ right.
  161.        ────────────────╫──────────────────────╫─────────────────────
  162.        PgUp            ║ Finish entry and     ║ Move up 1 screen.
  163.                        ║ move up 1 screen.    ║
  164.        ────────────────╫──────────────────────╫─────────────────────
  165.        PgDn            ║ Finish entry and     ║ Move down 1 screen.
  166.                        ║ move down 1 screen.  ║
  167.        ────────────────╫──────────────────────╫─────────────────────
  168.        Home            ║ Move to the start of ║ Move to cell at the
  169.                        ║ the cell.            ║ start of worksheet.
  170.        ────────────────╫──────────────────────╫─────────────────────
  171.        End             ║ Move to the end of   ║ Move to cell at the
  172.                        ║ the cell.            ║ end of worksheet.
  173.        ────────────────╫──────────────────────╫─────────────────────
  174.        Ctrl + End      ║ Erase contents of    ║ Erase current cell
  175.                        ║ cell from cursor to  ║ entirely.
  176.                        ║ end of cell.         ║
  177.        ────────────────╫──────────────────────╫─────────────────────
  178.        Ctrl + L. Arrow ║ Finish entry and     ║ Scroll to the left.
  179.                        ║ scroll to the left.  ║
  180.        ────────────────╫──────────────────────╫─────────────────────
  181.        Ctrl + R. Arrow ║ Finish entry and     ║ Scroll to the right.
  182.                        ║ scroll to the right. ║
  183.        ────────────────╫──────────────────────╫─────────────────────
  184.        Ctrl + PgUp     ║ Finish entry and go  ║ Go to top of the
  185.                        ║ to top of worksheet. ║ worksheet.
  186.        ────────────────╫──────────────────────╫─────────────────────
  187.        Ctrl + PgDn     ║ Finish entry and go  ║ Go to end of the
  188.                        ║ to end of worksheet. ║ worksheet.
  189.        ────────────────╫──────────────────────╫─────────────────────
  190.        Tab             ║ Finish entry and     ║ Move to cell on the
  191.                        ║ move to cell right.  ║ right.
  192.        ────────────────╫──────────────────────╫─────────────────────
  193.        Shift + Tab     ║ Finish entry and     ║ Move to cell on the
  194.                        ║ move to cell left.   ║ left.
  195.        ────────────────╫──────────────────────╫─────────────────────
  196.        Ins             ║ Toggle Insert Mode.  ║ Toggle Insert Mode.
  197.                        ║ Fat cursor = Insert. ║ Fat cursor = Insert.
  198.        ────────────────╫──────────────────────╫─────────────────────
  199.        Del             ║ Delete character at  ║ Delete cursor at
  200.                        ║ cursor.              ║ cursor.
  201.        ────────────────╫──────────────────────╫─────────────────────
  202.        Backspace       ║ Delete character to  ║ No action.
  203.                        ║ left of cursor.      ║
  204.        ────────────────╫──────────────────────╫─────────────────────
  205.        Enter           ║ Finish entry.  Stay  ║ No action.
  206.                        ║ in current cell.     ║
  207.        ────────────────╫──────────────────────╫─────────────────────
  208.        Esc             ║ Finish entry and     ║ Move cursor to the
  209.                        ║ move to cell below.  ║ cell below.
  210.                        ║ Nice for using NUM   ║
  211.                        ║ Lock mode with a     ║
  212.                        ║ column of numbers!   ║
  213.        ────────────────╨──────────────────────╨─────────────────────
  214.  
  215.  
  216.  
  217.        Command Table: With Alt key, or preceded by the "/" key.
  218.                       The "/" key brings up the command list.
  219.        ─────────────────────────────────────────────────────────────
  220.        Q         Exit to DOS.
  221.        ─────────────────────────────────────────────────────────────
  222.        Space     Remove command list and return to worksheet.
  223.        ─────────────────────────────────────────────────────────────
  224.        L         Produce a directory list.
  225.        ─────────────────────────────────────────────────────────────
  226.        N         Change to new directory and/or disk drive.
  227.        ─────────────────────────────────────────────────────────────
  228.        R         Read worksheet from disk into memory.  There are
  229.                  two options offered when ALT-R is selected: 1) to
  230.                  clear memory before reading or 2) to merge the file
  231.                  into memory.  The first option, to clear memory, is
  232.                  the more usual, especially for people who have
  233.                  separate worksheets.  The "merge" option is very
  234.                  handy for people who want to combine together smaller
  235.                  worksheets, the merge will bring in the file at the
  236.                  current cursor location.  Any formulas in the merged
  237.                  file will be adjusted if they do not use absolute
  238.                  addressing.
  239.        ─────────────────────────────────────────────────────────────
  240.        S         Store worksheet from memory onto disk.
  241.  
  242.                  Both the R and S commands assume the .SSF extension
  243.                  if the user doesn't specify one.  If no extension
  244.                  is desired end the filename with a '.' and no ext-
  245.                  ension will be used.
  246.        ─────────────────────────────────────────────────────────────
  247.        E         Erase part or all of the current worksheet from
  248.                  memory.  If you elect to erase only a part of the
  249.                  worksheet, you can set the range to be erased before
  250.                  the erasure begins.  For example: press Alt-E to begin,
  251.                  then press R and set the desired range, after the
  252.                  range has been set press P to erase the selected range.
  253.                  Menus are provided by the program to lead you thru
  254.                  this procedure.  If you select P prior to setting a
  255.                  range, only the current cell will be erased.
  256.        ─────────────────────────────────────────────────────────────
  257.        G         Perform the calculations specified by user
  258.                  formula.  Note: the worksheet is not automatically
  259.                  recalculated after one inserts/deletes a row or
  260.                  column, one should use the G command to do this.
  261.        ─────────────────────────────────────────────────────────────
  262.        P         Print the worksheet to disk file or printer.
  263.        ─────────────────────────────────────────────────────────────
  264.        V         View a graph.  This command will display a bar
  265.                  graph of the selected range, with the selected
  266.                  labels.  The data range should not be more than
  267.                  6 lines deep, this is the maximum.  However, the
  268.                  program will display widths that range up to 70 or
  269.                  more columns, depending on how many lines are
  270.                  selected.  Refer to the GRAPH.SSF file for an
  271.                  example.  It is possible to ask for more than the
  272.                  maximum lines or columns, TC will simply truncate
  273.                  the request to fit.  After the graph has been viewed
  274.                  the program will ask if you wish to save the graph
  275.                  to disk.  This file is suitable for printing or further
  276.                  modification using a text editor.
  277.        ─────────────────────────────────────────────────────────────
  278.        F         Change cell format.  Each cell may have a
  279.                  different format.  The default is leading sign, no
  280.                  comma and no currency symbol.  You may choose 1 of
  281.                  6 different formats: financial, percent, scientific,
  282.                  hidden, date, and the default.  If the date format is
  283.                  chosen, the cell is treated as if it contained a Julian
  284.                  date and then it is converted to one of three sub-formats:
  285.                  DD-MMM-YY, DD-MMM or MMM-YY.  You will be given you choice
  286.                  of these 3 date formats, if you select the date type.
  287.                  If the financial format is chosen, you will be given the
  288.                  choice of 4 sub-formats:
  289.                     A.  $1,000- .... Dollar sign and comma insertion.
  290.                     B.   1,000- .... Comma insertion.
  291.                     C.  (1,000) .... Dollar sign and comma insertion,
  292.                                      parens for negative.
  293.                     D. $(1,000) .... Comma insertion, parens for negative.
  294.        ─────────────────────────────────────────────────────────────
  295.        W         The width of each column defaults to 10, but it can
  296.                  be changed with this command to any value between
  297.                  0 and 30.  After setting the width, the user is asked
  298.                  if the column should be given the "blank zero" attribute.
  299.  
  300.                  Note: If a column width of 0 is chosen, then this has
  301.                  the same effect as if the whole column had the "hidden"
  302.                  format.  Anything in a 0 width column or with the
  303.                  "hidden" format, will appear on the status line at
  304.                  the top of the screen, but will not appear in the
  305.                  worksheet.
  306.        ─────────────────────────────────────────────────────────────
  307.        B         Mark the start of the range at the current cell.
  308.        ─────────────────────────────────────────────────────────────
  309.        K         Mark the end of the range at the current cell.
  310.        ─────────────────────────────────────────────────────────────
  311.        H         The user may specify that columns are to be held
  312.                  on the left of the screen and not horizontally
  313.                  scrolled.  4 maximum.
  314.        ─────────────────────────────────────────────────────────────
  315.        I         Insert Row or Column.  Formula will be adjusted
  316.                  to reflect their new locations.  Absolute addresses
  317.                  may be used, by placing a '0' before the row.  For
  318.                  example 'C5' is a relative cell address and would
  319.                  be adjusted if needed, but 'C05' is an absolute
  320.                  cell address and would not be adjusted.   Recalculation
  321.                  does not automatically take place after execution
  322.                  of this command.
  323.        ─────────────────────────────────────────────────────────────
  324.        D         Delete Row or Column.  Formula will be adjusted
  325.                  as given above for 'I'.  If the range option is
  326.                  selected, then the rows or columns that fall within
  327.                  the specified range will be deleted.  Note: only
  328.                  rows or columns are deleted, not both at the same
  329.                  time.  Recalculation does not automatically take
  330.                  place after execution of this command.
  331.        ─────────────────────────────────────────────────────────────
  332.        J         Jump directly to a cell.  Avoid scrolling when you
  333.                  know where to go.  You may also go to a cell based
  334.                  on its content, select the L option of this commands
  335.                  menu and enter the value you want to locate.  The
  336.                  locate for the same value can be repeated automantically
  337.                  by pressing F5 when you wish to find the next item.
  338.        ─────────────────────────────────────────────────────────────
  339.        M         Move the indicated range to the current location.
  340.                  The user is given the opportunity to alter the
  341.                  range specification.  Formula are adjusted as
  342.                  above for 'I'.  This command senses overlaping
  343.                  ranges, and will adjust so that an ascending or
  344.                  descending move is done whenever needed.
  345.        ─────────────────────────────────────────────────────────────
  346.        C         Copy the indicated range to the current location.
  347.                  The user is given the opportunity to alter the
  348.                  range specification.  Formula are adjusted as
  349.                  above for 'I'.
  350.        ─────────────────────────────────────────────────────────────
  351.        O         Sort the indicated range into ascending order.  The
  352.                  sort key is the first column of the range and the
  353.                  rows within the range are arranged into ascending
  354.                  sequence based on the textual content of the key
  355.                  column (the first one in the indicated range).
  356.                  Note: only cells actually within the range are
  357.                  sorted, so the exact dimensions of the table
  358.                  that needs sorting should be given.
  359.        ─────────────────────────────────────────────────────────────
  360.        A         Toggle auto-calculate.  If many formulas are in the
  361.                  worksheet, it may save time to turn auto-calculate
  362.                  off, and manually calculate with the 'G' command.
  363.        ─────────────────────────────────────────────────────────────
  364.        Y         Import a file.  You may import either a fixed column
  365.                  format, standard ASCII text file or a DIF file.  DIF(tm)
  366.                  stands for Data Interchange Format and is commonly supported
  367.                  by many programs including 1-2-3(tm).  The DIF(tm)
  368.                  supports only the storage of the data, so the format
  369.                  control information and the formulas are not found
  370.                  in the in the DIF(tm) file.
  371.  
  372.                  If you select the text file import, the file will
  373.                  be read into the column where the cursor is located.
  374.                  Each line of the file will cause the import to go
  375.                  to the next row of the worksheet.
  376.  
  377.                  If you select the fixed column format, you must set
  378.                  the column widths, via the Alt-W command, to be equal
  379.                  to the width of the columns in the file to be imported.
  380.                  For example, let's say that the import file has 3 columns,
  381.                  the first column contains a label 30 characters wide, the
  382.                  second and third columns contain numbers, each being 12
  383.                  characters in width.  Then you should set your column
  384.                  widths to these values: 30 for column A, 12 for columns
  385.                  B & C.  After the widths are properly set the import
  386.                  may be done.  Remeber to position the cursor to the
  387.                  first cell to be filled, as for text imports!
  388.        ─────────────────────────────────────────────────────────────
  389.        Z         Export a DIF(tm) format file.  Please read the above
  390.                  paragraph about for the "Y" command.  The output file
  391.                  will contain data only, no formulas or format control
  392.                  information.  Also, the DIF(tm) format is not as
  393.                  efficient as the TurboCALC .SSF format, so the exported
  394.                  file will probably be about 10% to 300% larger than
  395.                  the original file.
  396.  
  397.                  Note: if you wish to export an ASCII text file, use
  398.                  the printout feature, ALT-P, which can be redirected
  399.                  to a file instead of the printer.
  400.        ─────────────────────────────────────────────────────────────
  401.        U         The user may control the screen colors via this
  402.                  command.  The colors are entered as numbers from
  403.                  the following list:
  404.  
  405.                    0 : Black             8 : Dark Grey
  406.                    1 : Blue              9 : Light Blue
  407.                    2 : Green            10 : Light Green
  408.                    3 : Cyan             11 : Light Cyan
  409.                    4 : Red              12 : Light Red
  410.                    5 : Magenta          13 : Light Magenta
  411.                    6 : Brown            14 : Yellow
  412.                    7 : Light Grey       15 : White
  413.  
  414.        ─────────────────────────────────────────────────────────────
  415.        T         This command acts as a toggle switch, it controls
  416.                  whether or not the current cell is protected.
  417.                  If a cell is protected, when the cursor moves
  418.                  to the cell, it appears in the same colors as a window
  419.                  frame, otherwise cells have normal cursor highlighting.
  420.                  One may not enter information into a protected cell,
  421.                  unless the protection is released.  This is a safeguard
  422.                  feature, to keep data from being accidentally
  423.                  destroyed.
  424.        ─────────────────────────────────────────────────────────────
  425.        Note: DIF is a trademark of Software Arts Products Corp.
  426.              1-2-3 is a trademark of Lotus Development Corp.
  427.  
  428.  
  429. Now some discussion about selected topics:
  430.  
  431. 1. Formulas.
  432.  
  433.    Formulas are composed of operational symbols, cell addresses,
  434.    constants, and functions.  Each formula is enclosed within
  435.    parenthesis, like this: (A1+C2+F4).  This formula would take
  436.    the content of the 3 cells and add them together, depositing
  437.    the result in the cell where the formula is located.
  438.  
  439.    The following function are available:
  440.  
  441.    Name      Description                             Usage
  442.    ────      ───────────                             ────────
  443.    ABS       Absolute value.                         ABS(p)
  444.    SQRT      Square root.                            SQRT(p)
  445.    SQR       Square.                                 SQR(p)
  446.    MOD       The remainder of p1 divided by p2.      MOD(p1,p2)
  447.    INT       Returns the integer portion of p.       INT(p)
  448.    ROUND     Rounds p to the n'th precision.         ROUND(p,n)
  449.              Where n is the number of digits after
  450.              the . of accuracy wanted.  For example:
  451.              ROUND(100.256,2) would produce 100.26 as
  452.              the result.
  453.  
  454.    PI        3.1415926536                            PI
  455.    SIN       Sine of angle in radians.               SIN(p)
  456.    ASIN      Arc sine.                               ASIN(p)
  457.    COS       Cosine of angle in radians.             COS(p)
  458.    ACOS      Arc cosine.                             ACOS(p)
  459.    TAN       Tangent of angle in radians.            TAN(p)
  460.    ATAN      Arc Tangent.                            ATAN(p)
  461.  
  462.    LN        Natural Log.                            LN(p)
  463.    LOG       Log base 10.                            LOG(p)
  464.    E         2.7182818285                            E
  465.    EXP       E raised to the p power.                EXP(p)
  466.  
  467.    NPV       Net present value of a series           NPV(i,r)
  468.                of future cash flows.
  469.    PMT       Mortgage payment per period.            PMT(pa,i,n)
  470.    PV        Present value of ordinary annuity.      PV(pp,i,n)
  471.    FV        Future value of ordinary annuity.       FV(pp,i,n)
  472.    RATE      Periodic rate needed to produce         RATE(fv,pv,n)
  473.                a future value.
  474.    TERM      The number of payment periods required  TERM(pp,i,fv)
  475.                for an annuity to grow to a future
  476.                value.
  477.    CTERM     The number of compounding periods       CTERM(i,fv,pv)
  478.                required for a present value to
  479.                future value.
  480.    IRR       Internal Rate of Return.                IRR(g,r)
  481.  
  482.    AVG       The average.                            AVG(r)
  483.    SUM       The sum of all item in range.           SUM(r)
  484.    COUNT     The number of items in range.           COUNT(r)
  485.    MIN       The smallest number in range.           MIN(r)
  486.    MAX       The biggest number in range.            MAX(r)
  487.    VAR       The population variance.                VAR(r)
  488.    STD       The population standard deviation.      STD(r)
  489.  
  490.    SYD       The depreciation for the specified      SYD(cst,sal,lif,per)
  491.                period, using the "Sum Of The Years
  492.                Digits" method.
  493.    SLN       The "Straight line" depreciation for    SLN(cst,sal,lif)
  494.                1 period.
  495.    DDB       The depreciation for the specified      DDB(cst,sal,lif,per)
  496.                period, using the "Double Declining
  497.                Balance" method.
  498.  
  499.    IF        Choose between two values.              IF(t,p1,p2)
  500.                p1 is returned if t is true,
  501.                p2 is returned if t is false.
  502.    NOT       Reverse true and false values.          NOT(t)
  503.    TRUE      Returns the value for true.             TRUE
  504.    FALSE     Returns the value for false.            FALSE
  505.    ERR       Returns the value for ERR.              ERR
  506.    ISERR     Returns the value for true if the       ISERR(p)
  507.                parameter has the ERR value,
  508.                otherwise returns the value for
  509.                false.
  510.    NA        Returns the value for NA.               NA
  511.    ISNA      Returns the value for true if the       ISNA(p)
  512.                parameter has the NA value,
  513.                otherwise returns the value for
  514.                false.
  515.  
  516.    DATE      Returns the Julian date from the        DATE(y,m,d)
  517.                calendar date given as a parameter.
  518.                The year maybe between 1800 and
  519.                2100 and the date is measured in
  520.                days from December 31, 1899.
  521.    TODAY     Returns the Julian date for today.      TODAY
  522.                Taken from the DOS clock, so if
  523.                you have set it wrong, then this
  524.                will be wrong.
  525.    DAY       Returns the day of the month,           DAY(p)
  526.                given the Julian date.
  527.    MONTH     Returns the month of the year,          MONTH(p)
  528.                given the Julian date.
  529.    YEAR      Returns the year, given the             YEAR(p)
  530.                Julian date.
  531.  
  532.    HLOOKUP   Table lookups find the largest table    HLOOKUP(trgt,tbl,ofs)
  533.                entry not greater than the target
  534.                value.  The "HLOOKUP" function
  535.                defines a horizontal table.
  536.    VLOOKUP   The "VLOOKUP" function defines a        VLOOKUP(trgt,tbl,ofs)
  537.                vertical table.
  538.  
  539.    Note: There are many examples in the sample spreadsheet that
  540.          accompanies the program.
  541.  
  542.    Where:  p,p1,p2 ... Constants, cell addresses or algebraic
  543.                          expressions.
  544.            i ......... Interest rate, may be any of the items
  545.                          listed for "p" above.  Note: all
  546.                          interest rates are stated in their
  547.                          fractional format, i.e. "10% = 0.1".
  548.                          Note: this is an interest rate per period
  549.                          and not per annum, however if the period
  550.                          in use is a year, then it is per annum.
  551.                          If a month is the period in use, then
  552.                          conversion from the yearly rate must
  553.                          be done by division by 12.
  554.            r ......... A range of cell addresses, i.e. "D4..H21".
  555.            pa ........ Principle amount, may be any of the items
  556.                          listed for "p" above.
  557.            n ......... Number of periods, may be any of the
  558.                          items listed for "p" above.
  559.            pp ........ Payment per period, may be any of the
  560.                          items listed for "p" above.
  561.            g ......... A guess at the interest rate, usually
  562.                          between 0.0 and 1.0.
  563.            pv ........ A present value, may be any of the items
  564.                          listed for "p" above.
  565.            fv ........ A future value, may be any of the items
  566.                          listed for "p" above.
  567.            t ......... A logical expression whose result is
  568.                          0.0 for false and non-zero for true.
  569.            y,m,d ..... May be any value listed for "p" above.
  570.                          They are the symbols for year, month and day.
  571.            trgt ...... May be any value listed for "p" above.  It is
  572.                          the value which is the target of the lookup.
  573.            tbl ....... A range of cell addresses that define the values
  574.                          to be searched to find the match for the target
  575.                          in a lookup.
  576.            ofs ....... May be any value listed for "p" above.  It is
  577.                          the value added to the matching entry's coordinates
  578.                          to find the answer in a lookup table.  Usually is
  579.                          a 1.
  580.            cst ....... The cost of an asset.
  581.            sal ....... The salvage value of an asset.
  582.            lif ....... The life expectancy of an asset.
  583.            per ....... The period for which depreciation is to be
  584.                          calculated.
  585.  
  586.    Formulas may be quite complicated, an example is:
  587.  
  588.                (A1+SIN(PI/2*(B2-C1)))
  589.  
  590.    The only limitations imposed are those of available memory and
  591.    the fact that no formula may be longer than 80 characters.
  592.    The financial and trig function are not recusive, for example
  593.    don't do this: (IRR(IRR(.2,D4..D20),E2..M2)), it won't work
  594.    very well, if at all.  If any of the formulas cannot calculate
  595.    the answer, for example if you ask for the SQRT of a negative
  596.    number, then the result will be ERROR and you will see the word
  597.    "ERR" in the result cell.
  598.  
  599.    Finally, a formula may contain the following symbols:
  600.  
  601.                 ^      Raise to the power.
  602.                 *      Multiplication
  603.                 /      Division
  604.                 +      Addition
  605.                 -      Subtraction
  606.                 :      Range summation, same as SUM function,
  607.                             i.e. (SUM(A1..B5)) is the same as (A1:B5)
  608.                 |      Logical OR
  609.                 &      Logical AND
  610.                 >      Greater than test
  611.                 <      Less than test
  612.                 =      Equal test
  613.                 >=     Greater than or equal test
  614.                 <=     Less than or equal test
  615.  
  616.    These are probably familiar, with the exception of the ":" for
  617.    range summation.  Let's say that you want to sum a column of
  618.    numbers, beginning at D1 and ending at D20, then this
  619.    expression would sum the column, (D1:D20).
  620.  
  621. 2. Overwritten cells.
  622.  
  623.    TurboCALC will allow you to make text entries of any length up
  624.    to a maximum of 80 characters, numeric entries may be up to 11
  625.    characters.  Any text entry that exceeeds the cell width will
  626.    automatically lock the adjacent cell on the right.  The lock will
  627.    be relased when the length of the entry shrinks.
  628.  
  629. 3. The Range and the commands that use it.
  630.  
  631.    The range is shown on the bottom left of the worksheet screen.
  632.    It is of the form: cell address..cell address.  If you have not
  633.    set the range, it defaults to the beginning and ending cell of
  634.    the worksheet.  There are two methods of setting the range:
  635.    1st, you can make the beginning and ending cells with the B and
  636.    K commands, 2nd, whenever one of the commands that use the
  637.    range is invoked, you have the opportunity of changing the
  638.    range by entering the new range.  For example the Copy command
  639.    will give you a menu with 3 options: Range, Copy and eXit.  If
  640.    you select the Range option, you will be allowed to enter a new
  641.    range, in the same format as displayed at the bottom of the
  642.    screen.  Here are the commands affected by the range: Copy,
  643.    Move and Print.
  644.  
  645. 4. Printer Setup.
  646.  
  647.    If you select the Print command, one of the options presented
  648.    on the Print menu is "Setup".  If you select the Setup option
  649.    you will be able to control the margins and dimensions of the
  650.    printed report.  Also, you will be given the option called
  651.    Control.  The Control option allows you to specify printer
  652.    setup control codes and printer exit control codes.  These
  653.    control codes default to Form Feed characters, but you may
  654.    specify whatever necessary.  The convention for specifying
  655.    these codes is to use the decimal numbers representing the
  656.    control codes separated by commas.  You can also put plain text
  657.    in the control strings, if you surround the text with "
  658.    marks.  For example: "This is a control string",12,12
  659.    If this was the setup control string, when the print began the
  660.    program would send the following to the printer: 'This is a
  661.    control string' FF FF.  Of course, the quotes would not be
  662.    sent, and the FF is just a symbolic way to represent the form
  663.    feed character.  With this method, you may program your printer
  664.    in whatever way you wish.
  665.  
  666.    There are 2 dot commands for the printer.  If you put .PAGE in
  667.    column A of any row, it will cause a page break to occur at
  668.    that place.  The remainder of the row with the dot command
  669.    will not print.  After you have entered .PAUSE in column A of
  670.    a row, page breaks will cause a pause for you to insert the
  671.    next page and give you an option to reprint a page or exit
  672.    the print function.
  673.  
  674. 5. Internal Rate of Return.
  675.  
  676.    This function provides an iterative approximation for the
  677.    interest rate which will produce a zero for the Net Present
  678.    Value function.  The range for this function should include
  679.    present cash flows as well as future cash flows.  The approach
  680.    to finding the zero is as follows, 14 loops thru the
  681.    "Bisection Method", followed by up to 6 loops thru the
  682.    "Modified-False Position Method".  Usually the IRR function
  683.    will converge to within 0.000001.  In some instances, where
  684.    the cash flows turn negative in a later period, there are
  685.    multiple solutions, however IRR finds the closest one only.
  686.    Your guess input to this function should be between 0.0 and 1.0.
  687.    In some cases, the function will not converge, either the
  688.    solution is too small or too large, in these cases the function
  689.    will return ERR.  Try adjusting you guess and recalculate.
  690.  
  691. 6. Range names.  Range names may be up to 15 characters long.  They
  692.    may contain any alpha or numeric character.  They should not contain
  693.    any blank or punctuation characters.  Up to 500 ranges may be named
  694.    in each worksheet.  When referenced, the range name must be preceded
  695.    with a @ character.  This signals TC that a range name is being used.
  696.    Range names may be used anyplace a range or cell address is called for.
  697.    The F4 key is used to bring up the range names for editing or examination.
  698.  
  699. 7. The macro keys are the 10 function keys used in combination with Alt, Ctrl
  700.    and Shift.  These values in the macro keys are stored in the .CNF file and
  701.    are thus independent of the worksheet.  However, macros may be stored in
  702.    the worksheet, at any cell location, and referred to via a JUMP command
  703.    from the normal macro keys.  Thus macros may be quite long and complex.
  704.  
  705.    NOTE: cell addresses are not automatically relocated when they are
  706.          embedded in macros, so it is advisable to use the range name
  707.          feature in conjunction with macros - range names are automatically
  708.          relocated as required.
  709.  
  710.    Macros are simply a device to record keystrokes for playback at a later
  711.    time.  So if you have repetitive processes or processes that you are
  712.    setting up for others to use, then macros are very handy indeed.
  713.  
  714.    Since some of the keys on the keyboard cannot be easily recorded in a
  715.    macro, they have a special name assigned.  When using these special
  716.    names, enclose the name within {}.  For example: {END} is the way to
  717.    indicate the pressing of the End key.  Here is the list of special names:
  718.  
  719.       Name            Description
  720.       ----            -----------
  721.       UP              Up Arrow key.
  722.       DOWN            Down Arrow key.
  723.       LEFT            Left Arrow key.
  724.       RIGHT           Right Arrow key.
  725.       HOME            Home key.
  726.       END             End key.
  727.       PGUP            PgUp key.
  728.       PGDN            PgDn key.
  729.       INS             Ins key.
  730.       DEL             Del key.
  731.       BS              Back Space key.
  732.       ESC             Esc key.
  733.       TAB             Tab key.
  734.       BTAB            Backward Tab key.
  735.       ^END            Ctrl-End key combo.
  736.       EDIT            F2, means to edit current cell.
  737.       RANGE           F4, means to enter/edit/list range names.
  738.  
  739.    It is also possible to use a Carriage Return in a macro by using the
  740.    ~, tilde, character wherever a Carriage Return is required.  Also, it
  741.    is IMPORTANT to note, that when writing a macro in normal cell locations
  742.    it is often desirable to begin a line with either the / or \ characters.
  743.    This is not possible, because TurboCALC will think that you mean to
  744.    execute an immediate command.  To allow you to do this, place the ~, tilde,
  745.    before the / or \ character, this will cause TurboCALC to allow the
  746.    entry to be made.
  747.  
  748.    For example:
  749.  
  750.        /JCA1~        Will not work if stored in a normal worksheet cell
  751.                      because TurboCALC will execute the command immediately.
  752.  
  753.    Instead enter:
  754.  
  755.        ~/JCA1~       The initial ~ is a throw-away, but it allows you to enter
  756.                      the command for later execution.
  757.  
  758.    There are some special / commands that appear only in macros:
  759.  
  760.        /Q            Quit the worksheet module.
  761.  
  762.        /XGca~        Transfer execution of the macro to the cell address "ca".
  763.  
  764.        /XCca~        Call a subroutine macro at the cell address "ca".
  765.  
  766.        /XR           Return from subroutine to the calling macro.  Execution
  767.                      pickups at the next instruction following the /XC in the
  768.                      calling macro.
  769.  
  770.        /XQ           Quit the macro and return to manual worksheet operation.
  771.  
  772.        /XNps~ca~     Input a numeric value and store at the cell address "ca".
  773.                      The string "ps" is used to prompt for input.
  774.  
  775.        /XLps~ca~     Input a literal value and store at the cell address "ca".
  776.                      The string "ps" is used to prompt for input.
  777.  
  778.        /XIcond~      Tests the condition and branch accordingly.  The "cond"
  779.                      contains some expression that is tested to be true.  If
  780.                      it is not found to be true, then execution of the macro
  781.                      continues with the next line of the macro, if it is true
  782.                      then the current line continues execution.  For example:
  783.  
  784.                         /XIb2>100~/XGg30~
  785.  
  786.                         If the contents of cell B2 is greater than 100 the
  787.                         macro will transfer execution to cell G30, otherwise
  788.                         it will continue execution with the next line following
  789.                         the /XI command.
  790.  
  791.  
  792.        /XMca~        Execute a menu stored at the cell address "ca".
  793.                      Here is a sample of a menu stored at cell address B2.
  794.                      The command words are stored in the first line, B2..D2,
  795.                      the command descriptions are in the next line, B3..D3,
  796.                      the macro commands which are executed when the user
  797.                      selects an option are stored immediately below the
  798.                      related option.  Each macro may be any number of lines
  799.                      long and is terminated with an empty cell.  The same
  800.                      is true for the width of the menu, it terminates when
  801.                      an empty column is found.
  802.  
  803.                  A               B               C               D
  804.            1
  805.            2                   Yes             No              Maybe
  806.            3                   First Choice    Second Choice   Third Choice
  807.            4                   No. 1~          No. 2~          No. 3~
  808.            5                                   ~/Q
  809.  
  810.  
  811. The Editor
  812. ──────────
  813.    Starting with version 6.00 of TurboCALC, an editor is included
  814.    with the package.  This editor is largely the result of the
  815.    "Turbo EDITOR TOOLBOX"(tm).  The editor has been customized and
  816.    integrated with TurboCALC, and it is planned that more customization
  817.    and intergration will occur in the future.  At this time,
  818.    the editor has quite a list of features, including the ability to
  819.    print in background while editing a 2nd file, and windows can open
  820.    so that 2 files may be edited/viewed side-by-side.  If you would
  821.    like to be able to customize your own editor, I suggest you purchase
  822.    the toolbox from Borland International Inc.  It is quite excellent and
  823.    there are no royalties!
  824.  
  825.  
  826.    Command List
  827.    ────────────
  828.      ^A       Left Word                   Larrow  To left on line
  829.      ^S       Left Character              Rarrow  To right on line
  830.      ^D       Right Character             ^Q^J    Jump to marker
  831.      ^F       Right Word                  ^Q^I    Toggle auto indent mode
  832.      Uarrow   Up Line                     ^Q^R    To top of File
  833.      Darrow   Down Line                   ^Q^C    To end of File
  834.      PgUp     Up Page                     ^Q^B    To begin of Block
  835.      PgDn     Down Page                   ^Q^K    To end of Block
  836.      ^W       Scroll Up                   ^Q 1    Jump to Marker 1
  837.      ^Z       Scroll Down                 ^Q 2    Jump to Marker 2
  838.      RETURN   New Line                    ....    ....
  839.      ^N       Insert Line                 ^Q 9    Jump to Marker 9
  840.      ^G,DEL   Delete Character            ^Q^Y    Delete Line Right
  841.      BKSP     Delete Left Character       ^Q^F    Find Pattern
  842.      ^I       Tab                         ^Q^A    Find and Replace
  843.      ^T       Delete Word
  844.      ^Y       Delete Line                 ^K^S    Save File & Resume
  845.      ^B       Reformat Paragraph          ^K^D    Save & open new file
  846.      Ins      Toggle Insert Mode          ^K^X    Save & exit to Menu
  847.      ^L       Find Next Occurrence        ^K^Q    Abandon & open new file
  848.      ^J       Beginning/End of line       ^K 1    Set Marker 1
  849.      Home     Move to beginning of line   ^K 2    Set Marker 2
  850.      End      Move to end of line          ...    ....
  851.      ^P       Insert Char by ASCII        ^K 9    Set Marker 9
  852.      ^O^O     Open new window
  853.      ^O^L     Set Left Margin             ^K^B    Begin Block
  854.      ^O^R     Set Right Margin            ^K^K    End Block
  855.      ^O^C     Center Line                 ^K^H    Hide Block
  856.      ^O^K     Change Case                 ^K^C    Copy Block
  857.      ^O^S     Set UNDO Limit              ^K^V    Move Block
  858.      ^O^W     Toggle Wordwrap Mode        ^K^Y    Delete Block
  859.      ^O^G     Goto other window           ^K^W    Write Block
  860.      ^O^I     Goto Column                 ^K^R    Read block
  861.      ^O^N     Goto Line                   ^K^M    Set marker
  862.      ^O^Y     Destroy window              ^K^T    Define tab width
  863.      F2       Switch to the CALC module    F10    Activate Pulldown Menus
  864.      ESC      Undo last change
  865.  
  866.    Note: Turbo EDITOR TOOLBOX is a trademark of Borland International Inc.
  867.  
  868.    Some useful options:
  869.  
  870.        With ^Q^F:  U  - For search that is case independent.
  871.  
  872.        With ^Q^A:  U  - As above for ^Q^F.
  873.                    G  - Global search.
  874.                    N  - Replace without asking.
  875.  
  876.    A hint:
  877.  
  878.        When using the ^P command to insert printer codes into the
  879.        text, you press ^P followed by the control character you want
  880.        to send to the printer.  You can enter only 1 control character
  881.        each time you press ^P.
  882.